package com.gxa.accommodation.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AccommodationRoomTypeDTO {
    @TableId(value = "id")
    private Long id;
//    private Integer serialNumber;
    @NotBlank(message = "房间类型名不能为空")
    private String roomTypeName;
    @DecimalMin("0.0")
    private BigDecimal roomPrice;
    @DecimalMin("0.0")
    private Double roomArea;
    @Min(0)
    private Integer seatingCapacity;
    private Byte currency;
    private Byte roomStatus;
    private String roomImg;

}
